//package com.sky.task;
//
//import com.sky.mapper.user.OrderMapper;
//import com.sky.pojo.Orders;
//import com.sky.websocket.WebSocketServer;
//import com.wechat.pay.java.core.Config;
//import com.wechat.pay.java.core.exception.ServiceException;
//import com.wechat.pay.java.service.payments.model.Transaction;
//import com.wechat.pay.java.service.payments.nativepay.NativePayService;
//import com.wechat.pay.java.service.payments.nativepay.model.QueryOrderByOutTradeNoRequest;
//import lombok.extern.slf4j.Slf4j;
//import org.springframework.beans.factory.annotation.Autowired;
//import org.springframework.data.redis.core.RedisTemplate;
//import org.springframework.scheduling.annotation.Scheduled;
//import org.springframework.stereotype.Component;
//import org.springframework.util.CollectionUtils;
//
//import java.time.Duration;
//import java.time.LocalDateTime;
//import java.util.List;
//
///**
// * @Description TODO
// * @Author bo.li
// * @Date 2024/10/19 9:12
// * @Version 1.0
// */
//@Component
//@Slf4j
//public class WebSocketTestTask {
//
//    @Autowired
//    WebSocketServer webSocketServer;
//
//    @Scheduled(cron = "0/5 * * * * ?")
//    public void checkOrderPayStatus() {
//        webSocketServer.sendToAllClient("我是后端来的");
//    }
//}